
package DateUtilDemo;

import java.util.Calendar;

/**
 * @作者 Administrator
 * @创建日期2015-4-17
 * @版本
 */
public class CalendarDemo {
	@SuppressWarnings("static-access")
	public static void main(String[] adds){
		Calendar calendar=Calendar.getInstance();
		int year=calendar.getFirstDayOfWeek();
		System.out.println(year);
		System.out.println(calendar.DAY_OF_MONTH);
	}

}
